<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
{if !empty($aListingVideo)}
<div data-iframe='{$aListingVideo.embed_code}' class="listing_video video_display_{$sDisplayType}" id="js_listing_video_{$aListingVideo.listing_id}">
    <div class="listing_video_image">
        <a href="#" onclick="$('#js_listing_video_{$aListingVideo.listing_id}').html($('#js_listing_video_{$aListingVideo.listing_id}').attr('data-iframe'));return false;"> {img server_id=$aListingVideo.server_id title=$aListingVideo.title path='marketplace.url_image_video' file=$aListingVideo.image_path suffix='' max_width='100' max_height='60'}</a>
    </div>
    <div class="listing_video_info">
        <p class="video_title"><a href="#" onclick="$('#js_listing_video_{$aListingVideo.listing_id}').html($('#js_listing_video_{$aListingVideo.listing_id}').attr('data-iframe'));return false;" title="{$aListingVideo.title}">{$aListingVideo.title|shorten:55}</a></p>
        <p class="video_description">{$aListingVideo.description|shorten:150}</p>
    </div>
</div>
{/if}